<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html lang="true">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><bean:message key="welcome.title"/></title>
        <html:base/>
    </head>
    <body style="background-color: white">
        <br><br><br>

        <div align="center" >
            résultats de la recherche:
            <br>

            
            <table border="2">
                <tr>                    
                    <th>Apogee</th>
                    <th>CNE</th>
                    <th>CiN</th>
                    <th>Nom</th>
                    <th>Prénom</th>                    
                    <th>Naissance</th>
                    <th>Sexe</th>
                    <th>Etablissement</th>
                    <th>Diplome</th>
                    <th>Etape</th>
                    <th>Adresse</th>
                    <th>UID</th>
                    <th>Password</th>
                </tr>
                <tr>
                        <td bgcolor="gray" colspan="13">La liste des étudiants sur APOGEE</td>
                </tr>
                <logic:iterate name="listApo" id="compte">
                    <tr>
                    <td><bean:write name="compte" property="apogee"/></td>
                    <td><bean:write name="compte" property="cne"/></td>
                    <td><bean:write name="compte" property="cin"/></td>
                    <td><bean:write name="compte" property="nom"/></td>
                    <td><bean:write name="compte" property="prenom"/></td>
                    <td><bean:write name="compte" property="naissance"/></td>
                    <td><bean:write name="compte" property="sexe"/></td>
                    <td><bean:write name="compte" property="etab"/></td>
                    <td><bean:write name="compte" property="diplome"/></td>
                    <td><bean:write name="compte" property="etape"/></td>
                    <td></td>
                    <td></td>
                    <td></td>
                    </tr>
                </logic:iterate>                

                    <tr>
                        <td bgcolor="gray" colspan="13">La liste des étudiants sur la BD comptes</td>
                    </tr>
        
                <logic:iterate name="listComp" id="compte">
                    <tr>
                    <td><bean:write name="compte" property="apogee"/></td>
                    <td><bean:write name="compte" property="cne"/></td>
                    <td><bean:write name="compte" property="cin"/></td>
                    <td><bean:write name="compte" property="nom"/></td>
                    <td><bean:write name="compte" property="prenom"/></td>
                    <td><bean:write name="compte" property="naissance"/></td>
                    <td><bean:write name="compte" property="sexe"/></td>
                    <td><bean:write name="compte" property="etab"/></td>
                    <td><bean:write name="compte" property="diplome"/></td>
                    <td><bean:write name="compte" property="etape"/></td>
                    <td></td>
                    <td><bean:write name="compte" property="uid"/></td>
                    <td><bean:write name="compte" property="password"/></td>
                    </tr>
                </logic:iterate>
                    <tr>
                        <td bgcolor="gray" colspan="13">La liste des étudiants sur LDAP</td>
                    </tr>
        
                <logic:iterate name="listLdap" id="compte">
                    <tr>
                    <td><bean:write name="compte" property="apogee"/></td>
                    <td><bean:write name="compte" property="cne"/></td>
                    <td><bean:write name="compte" property="cin"/></td>
                    <td><bean:write name="compte" property="nom"/></td>
                    <td><bean:write name="compte" property="prenom"/></td>
                    <td><bean:write name="compte" property="naissance"/></td>
                    <td><bean:write name="compte" property="sexe"/></td>
                    <td><bean:write name="compte" property="etab"/></td>
                    <td><bean:write name="compte" property="diplome"/></td>
                    <td><bean:write name="compte" property="etape"/></td>
                    <td></td>
                    <td><bean:write name="compte" property="uid"/></td>
                    <td><bean:write name="compte" property="password"/></td>
                    </tr>
                </logic:iterate>
        </table>
        <br>
        
        <html:link action="/Sync/menuSearchStds.do">Chercher des étudiants</html:link>
        <br>
        <br>
        <html:link action="/Sync/menuPrincipalSync.do">Menu principal de synchronisation</html:link>
        <br>

        </div>
        </body>
</html:html>
